import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
   
    {
      path: '/register',
      name: 'register',
      component: () => import('@/views/register.vue'),
    },

      {
      path: '/login',
      name: 'login',
      component: () => import('@/views/login.vue'),
    },

     {
      path: '/index',
      name: 'index',
      component: () => import('@/views/index.vue'),
    },
  ],
})

export default router
